package com.zhouzhou.fastjava.query;

import java.util.List;
import java.util.Map;

public class QueryResult {

    private final List<Map<String, Object>> list;

    private final long total;

    public QueryResult(List<Map<String, Object>> list, long total) {
        super();
        this.list = list;
        this.total = total;
    }

    public List<Map<String, Object>> getList() {
        return list;
    }

    public long getTotal() {
        return total;
    }

}
